package com.project.class3_29;

public class StudentBean {
    /**学号*/
    private String code;
    /**电话*/
    private String tel;
    /**姓名*/
    private String name;
    /**学历*/
    private String edu;
    /**年龄*/
    private int age;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEdu() {
        return edu;
    }

    public void setEdu(String edu) {
        this.edu = edu;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "StudentBean{" +
                "code='" + code + '\'' +
                ", tel='" + tel + '\'' +
                ", name='" + name + '\'' +
                ", edu='" + edu + '\'' +
                ", age=" + age +
                '}';
    }
}
